package com.wanbangee.marksystem.service;

import java.util.Map;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "kaoJinBang-examination-setting-provider")
public interface MExamServiecApi {
	//调用其他的服务的接口,查询当所选年级的所有考试
	@RequestMapping(value = "/grade/getExam",method = RequestMethod.GET)
	public Map<String,Object> selectExamBygraId(@RequestParam("graId")Integer graId);
	
}
